crypto/tls.clientHelloMsg.vers (field)
13 uses
crypto/tls (current package)
handshake_client.go#L74: vers: clientHelloVersion,
handshake_client.go#L106: if hello.vers < VersionTLS12 && suite.flags&suiteTLS12 != 0 {
handshake_client.go#L129: if hello.vers >= VersionTLS12 {
handshake_messages.go#L72: vers uint16
handshake_messages.go#L292: b.AddUint16(m.vers)
handshake_messages.go#L374: !s.ReadUint16(&m.vers) || !s.ReadBytes(&m.random, 32) ||
handshake_server.go#L160: clientVersions = supportedVersionsFromMax(clientHello.vers)
handshake_server.go#L372: if hs.clientHello.vers < c.config.maxSupportedVersion(roleServer) {
handshake_server.go#L939: supportedVersions = supportedVersionsFromMax(clientHello.vers)
handshake_server_tls13.go#L574: return ch.vers != ch1.vers ||
key_agreement.go#L83: preMasterSecret[0] = byte(clientHello.vers >> 8)
key_agreement.go#L84: preMasterSecret[1] = byte(clientHello.vers)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |